package smartcounters.androidclient.model;

import java.util.Date;
import java.util.SortedMap;
import java.util.TreeMap;

public class MonthlyUsage {
	private int m_AccountID;
    private Date m_UsageDate;
    private double m_TotalUsage;
    private SortedMap<Date, SingleUsage> m_Usages;

    public MonthlyUsage(int i_AccountID)
    {
    	m_AccountID = i_AccountID;
    	m_Usages = new TreeMap<Date, SingleUsage>();
    }
    
    public int getAccountID(){
    	return m_AccountID;
    }
    
    public Date getUsageDate(){
    	return m_UsageDate;
    }
    
    public void setUsageDate(Date i_UsageDate){
    	m_UsageDate = i_UsageDate;
    }
    
    public double getTotalUsage(){
    	return m_TotalUsage;
    }
    
    public void setTotalUsage(double i_TotalUsage){
    	m_TotalUsage = i_TotalUsage;
    }
    
    public SortedMap<Date, SingleUsage> getUsages(){
    	return m_Usages;
    }
    
    public void setUsages(SortedMap<Date, SingleUsage> i_Usages){
    	m_Usages = i_Usages;
    }
}
